package com.hand.test.domain;/**
 * @author Estelle@앙수청
 * @date 2019/7/20 9:15
 */

import javax.persistence.Id;
import javax.persistence.Transient;

/**
 *  @author Estelle@앙수청
 *  @date 2019/7/20 9:15
 */

public class Stockin {

    @Id
    private Integer inId;

    @Transient
    private Integer matterId;

    @Transient
    private Integer storehouseId;

    private Long increCount;


    public Stockin() {
    }

    public Stockin(Integer inId, Integer matterId, Integer storehouseId, Long increCount) {
        this.inId = inId;
        this.matterId = matterId;
        this.storehouseId = storehouseId;
        this.increCount = increCount;
    }

    public Integer getInId() {
        return inId;
    }

    public void setInId(Integer inId) {
        this.inId = inId;
    }

    public Integer getMatterId() {
        return matterId;
    }

    public void setMatterId(Integer matterId) {
        this.matterId = matterId;
    }

    public Integer getStorehouseId() {
        return storehouseId;
    }

    public void setStorehouseId(Integer storehouseId) {
        this.storehouseId = storehouseId;
    }

    public Long getIncreCount() {
        return increCount;
    }

    public void setIncreCount(Long increCount) {
        this.increCount = increCount;
    }

    @Override
    public String toString() {
        return "Stockin{" +
                "inId=" + inId +
                ", matterId=" + matterId +
                ", storehouseId=" + storehouseId +
                ", increCount=" + increCount +
                '}';
    }
}
